package com.pentalog.fullsix.bean.frontend;
import java.util.ArrayList;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "galleriaBean")
@SessionScoped
public class GalleriaBean {

    private List<String> images;

    @PostConstruct
    public void init() {
        images = new ArrayList<String>();

        for(int i=1;i<=6;i++) {
            images.add("galleria" + i + ".JPG");
        }
    }

    public List<String> getImages() {
        return images;
    }
}